#include <stdio.h>
#include <string.h>

#define size 10
struct student
{
    int id;
    char name[size];
};
typedef struct student Stu;

struct teacher
{
    int id;
    Stu s[stu_size];
};
typedef struct teacher Teach;

void InitStu(Stu *s,int id,const char *name)
{
    s->id = 0;
    strcpy(s->name,name);
}

void InitTeach(Teach *t)
{
    s->id = 0;
}

void PrintStu(Stu *s)
{
    printf("%d %s",s->id,s->name);
}

void PrintTeach(Teach *t)
{
    for(int i = 0;i<stu_size;i++)
    {
        PrintStu(&t->s[i]);
    }
}

void InsertStu(Teach *t,int id,const char *name)
{
    InitStu(&t->s[size+],id,name);
}

void RemoveID(Teach *t,const char *name)
{
    for(int i = Index;i<t->size;i++)
    {
        if(strcmp(t->s[i],name)==0)
        {
            for(int j=i;j<t->size-1;j++)
            {
                t->s[i]=t->s[i+1];
                t->size--;
                i--;
            }
        }
    }
}

void RemoveString(MyStr *s, const char *str)
{
    char * back=
}
int main()
{
    Stu s;
    Init(&s,"zhangsan");
    Print(&s);
}